<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>

  import {ROUTE_URL} from 'router/routes'
  import $ from 'jquery'

  export default {
    created: function () {
      const token = sessionStorage.getItem("token");
      if (token == null) {
        this.$router.push(ROUTE_URL.auth.login.absolutePath);
      }
    }
  }
</script>
